package com.jdd.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 访客日志表
 * </p>
 *
 * @author zly
 * @since 2022-03-24
 */
@ApiModel(value="TVisitorLog对象", description="访客日志表")
public class TVisitorLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "访客姓名")
    private String visitName;

    @ApiModelProperty(value = "访客手机号")
    private String visitMobile;

    @ApiModelProperty(value = "项目id")
    private Long projectId;

    @ApiModelProperty(value = "项目名称")
    private String projectName;

    @ApiModelProperty(value = "登记类型(1-微信小程序2-线下等级)")
    private Boolean registerType;

    @ApiModelProperty(value = "来访类型(1-业主邀请2-亲友来访)")
    private Boolean sourceType;

    @ApiModelProperty(value = "访问房屋id")
    private Long visitHouseId;

    @ApiModelProperty(value = "访问房屋")
    private String visitHouse;

    @ApiModelProperty(value = "业主id")
    private Long userId;

    @ApiModelProperty(value = "访客车牌号")
    private String visitVehicleNo;

    @ApiModelProperty(value = "访客类型(1-亲朋2-同事)")
    private Boolean visitType;

    @ApiModelProperty(value = "随行人数")
    private Integer visitPeopleNum;

    @ApiModelProperty(value = "创建人")
    private String 创建人;

    @ApiModelProperty(value = "状态1-正常2-停用")
    private Boolean status;

    @ApiModelProperty(value = "备注")
    private String remark;

//    @ApiModelProperty(value = "到访开始时间")
//    private LocalDateTime startTime;
//
//    @ApiModelProperty(value = "到访结束时间")
//    private LocalDateTime endTime;

    @ApiModelProperty(value = "实际到访时间")
    private LocalDateTime visitTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }
    public String getVisitName() {
        return visitName;
    }

    public void setVisitName(String visitName) {
        this.visitName = visitName;
    }
    public String getVisitMobile() {
        return visitMobile;
    }

    public void setVisitMobile(String visitMobile) {
        this.visitMobile = visitMobile;
    }
    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }
    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }
    public Boolean getRegisterType() {
        return registerType;
    }

    public void setRegisterType(Boolean registerType) {
        this.registerType = registerType;
    }
    public Boolean getSourceType() {
        return sourceType;
    }

    public void setSourceType(Boolean sourceType) {
        this.sourceType = sourceType;
    }
    public Long getVisitHouseId() {
        return visitHouseId;
    }

    public void setVisitHouseId(Long visitHouseId) {
        this.visitHouseId = visitHouseId;
    }
    public String getVisitHouse() {
        return visitHouse;
    }

    public void setVisitHouse(String visitHouse) {
        this.visitHouse = visitHouse;
    }
    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }
    public String getVisitVehicleNo() {
        return visitVehicleNo;
    }

    public void setVisitVehicleNo(String visitVehicleNo) {
        this.visitVehicleNo = visitVehicleNo;
    }
    public Boolean getVisitType() {
        return visitType;
    }

    public void setVisitType(Boolean visitType) {
        this.visitType = visitType;
    }
    public Integer getVisitPeopleNum() {
        return visitPeopleNum;
    }

    public void setVisitPeopleNum(Integer visitPeopleNum) {
        this.visitPeopleNum = visitPeopleNum;
    }
    public String get创建人() {
        return 创建人;
    }

    public void set创建人(String 创建人) {
        this.创建人 = 创建人;
    }
    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
//    public LocalDateTime getStartTime() {
//        return startTime;
//    }
//
//    public void setStartTime(LocalDateTime startTime) {
//        this.startTime = startTime;
//    }
//    public LocalDateTime getEndTime() {
//        return endTime;
//    }
//
//    public void setEndTime(LocalDateTime endTime) {
//        this.endTime = endTime;
//    }
    public LocalDateTime getVisitTime() {
        return visitTime;
    }

    public void setVisitTime(LocalDateTime visitTime) {
        this.visitTime = visitTime;
    }

    @Override
    public String toString() {
        return "TVisitorLog{" +
            "id=" + id +
            ", createTime=" + createTime +
            ", updateTime=" + updateTime +
            ", visitName=" + visitName +
            ", visitMobile=" + visitMobile +
            ", projectId=" + projectId +
            ", projectName=" + projectName +
            ", registerType=" + registerType +
            ", sourceType=" + sourceType +
            ", visitHouseId=" + visitHouseId +
            ", visitHouse=" + visitHouse +
            ", userId=" + userId +
            ", visitVehicleNo=" + visitVehicleNo +
            ", visitType=" + visitType +
            ", visitPeopleNum=" + visitPeopleNum +
            ", 创建人=" + 创建人 +
            ", status=" + status +
            ", remark=" + remark +
//            ", startTime=" + startTime +
//            ", endTime=" + endTime +
            ", visitTime=" + visitTime +
        "}";
    }
}
